/*
 * Copyright (c) 2006, 2021, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

/**
 * <p>Project: javase - Test
 * <p>Powered by webrx On 2021-12-08 15:53:55
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Test {
    public static void main(String[] args) throws Exception {
        var s = new Student();
        try {
            s.setSex("男avc");
        } catch (SexException e) {
            e.printStackTrace();
            //System.out.println(e.getMessage());
        } catch (Exception e) {
            System.out.println("未知异常");
        }

    }
}
